﻿<!DOCTYPE html>
<html lang="en-us">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="icon" href="favicon.ico" />
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/font-awesome.min.css" rel="stylesheet" />
    <link href="css/default.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap/bootstrap.min.js"></script>
    <!--[if lt IE 9]>
      <script src="js/bootstrap/html5shiv.min.js"></script>
      <script src="js/bootstrap/respond.min.js"></script>
    <![endif]-->
    <!--页面加载进度条-->
    <link href="css/pace/dataurl.css" rel="stylesheet" />
    <script src="js/pace/pace.min.js"></script>
    <script src="js/jquery.scrolltopcontrol/scrolltopcontrol.js" type="text/javascript"></script>
    <script src="js/jquery.extend.js" type="text/javascript"></script>
    <script src="js/default.js" type="text/javascript"></script>
</head>

<body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle show pull-left" data-target="sidebar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false"
                    aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.html">首页</a>
            </div>
            <div id="navbar" class="collapse navbar-collapse">
                <ul class="nav navbar-nav">
                    <li>
                        <a href="coupon-apply.html">免费券代申请</a>
                    </li>
                    <li>
                        <a href="coupon-review.html">免费券审批</a>
                    </li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
                            <i class="fa fa-user fa-fw"></i>
                            <span class="username"></span>
                            <span class="caret"></span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    <div class="container-fluid all">
        <div class="sidebar">
            <ul class="nav">
                <li>
                    <a href="index.html">首页</a>
                </li>
                <li class="has-sub">
                    <a href="coupon-review.html">
                        <span>民生免费券</span>
                        <i class="fa fa-caret-right fa-fw pull-right"></i>
                    </a>
                </li>
                <li class="has-sub">
                    <a href="add-sample/sample-list.jsp">
                        <span>送检单</span>
                        <i class="fa fa-caret-right fa-fw pull-right"></i>
                    </a>
                </li>
            </ul>
        </div>
        <div class="maincontent">
            <!--我是主要内容-->
        </div>
    </div>
    <a href="#top" id="goTop">
        <i class="fa fa-angle-up fa-3x"></i>
    </a>
    <script>
        //获取当前登录用户信息
        $(document).ready(function () {
            $.ajax({
                method: 'POST',
                url: '/csfy/intf.do',
                data: { method: 'getLoginUserInfo' },
                success: res => {
                    if (res.code == 10086) {
                        alert("请重新登录！");
                    } else {
                        if (res.code == 200) {
                            $(".username").html(res.rows.userName);
                        }
                    }
                }
            })
        })
    </script>
</body>

</html>